package com.yunfangdata.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;
@Getter
@Setter
public class LeaveStu {

    private Long id;
    //姓名
    private Officialstu officialstu;
    //qq
    private String qq;
    //电话
    private String tel;
    //上课天数
    private String classdays;
    //流失班级
    private Grade leavegrade;
    //流失阶段
    private DataDict leavephase;

    private DataDict parent;
    //流失原因
    private String leavereasion;
    //离开日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone ="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date leavedate;
    //营销人
    private Employee emp;
    //经办人
    private Employee saleman;
    //录入人
    private Employee inputuser;
    //  是否退款
    private Boolean isrefund;
    //审核状态
    private Boolean auditstate;

    //审核人
    private Employee auditor;

    //退款金额
    private BigDecimal refundamount;


}